package com.celi.scs;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author: changAoWen
 * @Date: 2024/1/12 9:48
 * @Description 描述
 */
@SpringBootApplication(scanBasePackages = {"com.celi"})
@MapperScan(basePackages = {"com.celi.scs.*.dao"})
@EnableJpaRepositories(basePackages = {"com.celi.scs.system", "com.celi.scs.common.jpa"})
@EntityScan(basePackages = {"com.celi.scs.system.entity", "com.celi.scs.common.entity.sys"})
@EnableScheduling
public class BgScsApplication {

    public static void main(String[] args) {
        SpringApplication.run(BgScsApplication.class, args);
    }
}
